package com.signway.signwayapi_3399;

import android.content.Context;
import com.signway.module_signway_adapter_Api.SignwayAuthorizedApi;
import com.signway.module_signway_adapter_Api.SignwayCloudApi;
import com.signway.module_signway_adapter_Api.SignwayControllerApi;
import com.signway.module_signway_adapter_Api.SignwayDeviceApi;
import com.signway.module_signway_adapter_Api.SignwayDisplayApi;
import com.signway.module_signway_adapter_Api.SignwayN68661Api;
import com.signway.module_signway_adapter_Api.SignwayNetworkApi;
import com.signway.module_signway_adapter_Api.SignwayOpenSdkApi;
import com.signway.module_signway_adapter_Api.SignwayPowerApi;
import com.signway.module_signway_adapter_Api.SignwaySystemApi;
import com.signway.module_signway_adapter_Api.SignwayUpdateApi;
import com.signway.open.api.IOpenAuthorizedApi;
import com.signway.open.api.IOpenCloudApi;
import com.signway.open.api.IOpenControllerApi;
import com.signway.open.api.IOpenDeviceApi;
import com.signway.open.api.IOpenDisplayApi;
import com.signway.open.api.IOpenN68661Api;
import com.signway.open.api.IOpenNetworkApi;
import com.signway.open.api.IOpenOpenSdkApi;
import com.signway.open.api.IOpenPowerApi;
import com.signway.open.api.IOpenSystemApi;
import com.signway.open.api.IOpenUpdateApi;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2011-2019, by your Signway, All rights reserved.
 * -----------------------------------------------------------------
 *
 * ProjectName: droid5119
 *
 * Author: Administrator
 *
 * Email: pf.wang@Signway.cn
 *
 * Description:
 *
 * -----------------------------------------------------------------
 * 2019-5-29 : Create SignwayApi.java
 * -----------------------------------------------------------------
 */
public class SignwayApi {

    private SignwayApi() {
    }

    /**
     * 打开Opensdkapi
     * @return
     */
    public static IOpenOpenSdkApi openSdkApi(Context c) {
       return SignwayOpenSdkApi.getInstance(c);
    }

    /**
     * 设备接口
     * @return
     */
    public static IOpenDeviceApi deviceAPI(Context c) {
        return SignwayDeviceApi.getInstance(c);
    }

    /**
     * 显示接口
     * @return
     */
    public static IOpenDisplayApi displayAPI(Context c) {
        return SignwayDisplayApi.getInstance(c);
    }

    /**
     * 电源接口
     * @return
     */
    public static IOpenPowerApi powerAPI(Context c) {
        return SignwayPowerApi.getInstance(c);
    }

    /**
     * 系统接口
     * @return
     */
    public static IOpenSystemApi systemAPI(Context c) {
        return SignwaySystemApi.getInstance(c);
    }

    /**
     * 云接口
     * @return
     */
    public static IOpenCloudApi cloudAPI(Context c) {
        return SignwayCloudApi.getInstance(c);
    }

    /**
     * 网络接口
     * @return
     */
    public static IOpenNetworkApi networkAPI(Context c) {
        return SignwayNetworkApi.getInstance(c);
    }

    /**
     * 升级接口
     * @return
     */
    public static IOpenUpdateApi updateAPI(Context c) {
        return SignwayUpdateApi.getInstance(c);
    }

    /**
     * 授权相关api
     * @return
     */
    public static IOpenAuthorizedApi authorizedApi(Context c) {
        return SignwayAuthorizedApi.getInstance(c);
    }

    /**
     * 控制接口
     * @return
     */
    public static IOpenControllerApi controllerApi(Context c) {
        return SignwayControllerApi.getInstance(c);
    }

    /**
     * N68661接口
     * @return
     */
    public static IOpenN68661Api n68661Api(Context c) {
        return SignwayN68661Api.getInstance(c);
    }


}
